package com.rightsidetech.system.service;

import com.rightsidetech.commom.base.DelReq;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.system.dtos.request.store.StoreAddressSaveReq;
import com.rightsidetech.system.dtos.request.store.StoreAddressUpReq;
import com.rightsidetech.system.dtos.response.store.StoreAddressResp;
import com.rightsidetech.system.entity.store.SysStoreAddress;

import java.util.List;

public interface SysStoreAddressService {

    ResponseData saveAddress(StoreAddressSaveReq req,Long storeId);

    ResponseData<List<StoreAddressResp>> addressList(Long storeId);

    ResponseData update(StoreAddressUpReq req, Long storeId);

    SysStoreAddress selectByPrimaryKey(Long id);

    ResponseData del(DelReq req,Long storeId);
}
